package com.gringrid.www;

import javax.sql.DataSource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class MysqlDBCon {
	
	private DataSource dataSource;
	
	private static final Logger logger = LoggerFactory.getLogger(DBTestModel.class);
	
	public void setDataSource(DataSource dataSource) {
		logger.info("setDataSource() babo "+dataSource.toString());
		this.dataSource = dataSource;
		logger.info("setDataSource() babo "+this.dataSource.toString());
	}
	
	public DataSource getDataSource(){
		return this.dataSource;
	}
}
